<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>红绿灯</title>
    <link rel="stylesheet" href="./红绿灯.css">
</head>

<body>
    <header>请等待红绿灯加载出来</header>
    <div class="box">
        <div class="trafficLights">
            <div class="light"></div>
            <div class="light"></div>
            <div class="light"></div>
        </div>
        <div class="message"></div>
        <div class="btn">点我控制红绿灯</div>
    </div>
    <footer>&copy;:·.</footer>
    <!-- <script src="./data.js"></script> -->
    <script src="./红绿灯问题.js"></script>
    <!-- 我想用模块化但是它不跑,还不报错 -->
    <!-- <script type="module" src="./红绿灯问题.js"></script> -->
</body>

</html>